package com.scoy.honeymei.url;


import com.scoy.honeymei.MeApp;
import com.scoy.honeymei.http.HpCallback;
import com.scoy.honeymei.utils.MyUtil;

/**
 * ClassName:      com.scoy.agriculturalnetwork.api
 * Description:
 * Author:         GaoZhan & Administrator
 * UpdateDate:     2020/7/14/0014$ 09:41$
 * UpdateRemark:   更新内容
 * @author Administrator
 */
public abstract class ApiCallBack implements HpCallback {

    @Override
    public void onFailed(String code, String msg, String t) {
        MyUtil.mytoast0(MeApp.getAllContext(), msg);
    }

    @Override
    public void onError(int code, String errorMsg) {
        MyUtil.mytoast0(MeApp.getAllContext(), "onError，code:" + code + "，msg:" + errorMsg);
    }
}
